//处理后台管理系统的相关路由
const Router = require("koa-router");
const adminRouter = new Router({prefix:"/admin"});
const adminController = require("../controller/controller.admin");
const {verifyUserLogin} = require("../middleware/verifyLogin");
//访问后台首页
adminRouter.get("/",verifyUserLogin,adminController.viewIndex);
module.exports = adminRouter;